package ningbo.day02.basic02;

import sun.security.util.AuthResources_it;

import java.util.Scanner;

/**
 * @Author 宁铂
 * @Date 2021/7/17 22:24
 * @Version 1.0
 */
public class TestCircleArea {
    /** 求出指定半径圆的面积
     *  公式:圆的面积：π * r * r
     * */

    public static void main(String[] args) {
        System.out.println("请输入圆的半径");
        double i = new Scanner(System.in).nextDouble();

        System.out.println("圆的面积:"+3.14*i*i);
    }
}
